package com.jx.vo;

import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

@Data
@NoArgsConstructor
public class CatChPhoneVo {

    @NotEmpty
    private String jylsh;
    @NotEmpty
    private String jyjgbh;
    @NotEmpty
    private String jycs;
    @NotEmpty
    private String hphm;
    @NotEmpty
    private String hpzl;
    @NotEmpty
    private String clsbdh;
    @NotEmpty
    private String jcxdh;

    public String getXml() {
        return "<?xml version=\"1.0\" encoding=\"UTF-8\"?><root><vehispara><jylsh>" + jylsh + "</jylsh><jyjgbh>" + jyjgbh + "</jyjgbh><jcxdh>" + jcxdh + "</jcxdh><jycs>" + jycs + "</jycs><hphm>" + hphm + "</hphm><hpzl>" + hpzl + "</hpzl><clsbdh>" + clsbdh + "</clsbdh><jyxm>B6</jyxm><sbdh>1</sbdh></vehispara></root>";
    }
}
